package cn.itcast.cd.service;

import java.util.List;

import cn.itcast.cd.domain.PurchaseBill;
import cn.itcast.cd.query.IQuery;
import cn.itcast.cd.resultPage.ResultPage;

public interface IPurchaseBillService {

	public void save(PurchaseBill PurchaseBill);
	
	public PurchaseBill get(Long id);
	
	public void delete(Long id);
	
	public void update(PurchaseBill PurchaseBill);
	
	public ResultPage query(String hql,Object[] params,int start,int limit);
	
	public ResultPage queryEntity(IQuery query);
	
	public List<PurchaseBill> queryEntity(String conditioins,Object[] params);
}
